package com.imooc.enums;

import lombok.Getter;

/**
 * 商品状态
 * Create By Liuqz
 *
 * @date 2018/5/31 0:26
 */
@Getter
public enum ProductStatusEnum implements CodeEnum {
    UP(0 , "在架"),
    DOWN(1 , "下架")
    ;

    private Integer code;

    private String message;

    ProductStatusEnum() {

    }

    ProductStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
